package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangge
 * @since 2020-09-10
 */
@Data
@TableName("gcg_project")
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 工程名称
     */
    @TableField("name")
    private String name;

    /**
     * 省id
     */
    @TableField("province_id")
    private Integer provinceId;

    @TableField("country_id")
    private Integer countryId;

    /**
     * 市id
     */
    @TableField("city_id")
    private Integer cityId;

    @TableField("region_id")
    private Integer regionId;;
    /**
     * 省级
     */
    @TableField(exist = false)
    private String provinceName;

    /**
     * 市级
     */
    @TableField(exist = false)
    private String cityName;

    /**
     * 地址x路x号
     */
    @TableField("address")
    private String address;

    /**
     * 流程状态，备用字段
     */
    @TableField("status")
    private Integer status;

    /**
     * 营运经理
     */
    @TableField("yyjl")
    private String yyjl;

    /**
     * 督导
     */
    @TableField("dd")
    private String dd;

    /**
     * 添加人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 添加时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 操作人
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 督导姓名
     */
    @TableField(exist = false)
    private String ddName;

    /**
     * 营运经理姓名
     */
    @TableField(exist = false)
    private String yyjlName;

    /**
     * 督导电话
     */
    @TableField(exist = false)
    private String ddTel;

    /**
     * 营运经理电话
     */
    @TableField(exist = false)
    private String yyjlTel;

    /**
     * 督导openid
     */
    @TableField(exist = false)
    private String ddOpenid;

    /**
     * 营运经理oprnid
     */
    @TableField(exist = false)
    private String yyjlOpenid;

    /**
     * 开业时间
     */
    @TableField(exist = false)
    private String openTime;

    /**
     * 餐厅地址
     */
    @TableField(exist = false)
    private String restAddress;

    /**
     * 店长姓名
     */
    @TableField(exist = false)
    private String dz;

    /**
     * 店长电话
     */
    @TableField(exist = false)
    private String dzTel;

    /**
     * 开业时间
     */
    @TableField(value = "open_date", fill = FieldFill.INSERT)
    private Date openDate;

    /**
     * 预计到货时间
     */
    @TableField("arrival_time")
    private String arrivalTime;

    /**
     * yaoma
     */
    @TableField("yaoma")
    private String yaoma;

    /**
     * 现场踏勘推送时间
     */
    @TableField("xctk")
    private String xctk;

    /**
     * 配送状态 0->待发货、1->已发货、2->已到货
     */
    @TableField("ps_status")
    private String psStatus;

    /**
     * 实际到货时间
     */
    @TableField("dh_time")
    private String dhTime;

    /**
     * 类型 1 正常 2手动开业
     */
    @TableField("type")
    private Integer type;


    @TableField(exist = false)
    private String reason;

    /**
     * 是否确认店名状态；0->未确认，1->已确认
     */
    @TableField("dm_sta")
    private Integer dmSta;

    private String kfqyjl;
}
